<template>
  <div class="search-item">
    <label>{{ title }}</label>
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: "",
    },
  },
};
</script>

<style lang="scss" scoped>
.search-item {
  display: flex;
  align-items: center;
  text-align: right;
  label {
    width: 150px;
  }
  display: flex;
}
</style>